package com.xingchen.feima.system;

import com.xingchen.feima.api.config.DefaultFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

//@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@SpringBootApplication
@ComponentScan(basePackages = {"com.xingchen.feima"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.xingchen.feima.api.client", defaultConfiguration = DefaultFeignConfig.class)
public class FeimaSystemApplication {
    public static void main(String[] args) {

        SpringApplication.run(FeimaSystemApplication.class, args);
    }
}
